﻿@model MVCDemo.Models.Company

@{
    ViewBag.Title = "Controls1";
}

<h2>Controls1</h2>
@Html.TextAreaFor(com => com.CompanyName)
<br />
@Html.DropDownListFor(m => m.Departments, new SelectList(Model.Departments, "deptId", "deptName"), "--Select Department--")